<%@ page pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
    <head>
        <title>KKBus</title>
        <meta charset="utf-8" />
        <link type="text/css" href="resources/template/css/login.css" rel="stylesheet" />	
	<link type="text/css" href="resources/template/css/smoothness/jquery-ui-1.7.2.custom.html" rel="stylesheet" />	
	<script type="text/javascript" src="resources/template/js/jquery-1.3.2.min.js"></script>
	<script type="text/javascript" src="resources/template/js/easyTooltip.js"></script>
	<script type="text/javascript" src="resources/template/js/jquery-ui-1.7.2.custom.min.js"></script>
    </head>
    <body>
        <div id="container">
            <div class="logo">
                <a href="#"><img style="margin-top: -156px;" src="resources/img/bus-256.png" alt="" /></a>
            </div>
            <div id="box">
                <form action="j_spring_security_check" method="POST">
                    <p class="main">
                        <label>Użytkownik: </label>
                        <input type="text" name="j_username" value="" /> 
                        <label>Hasło: </label>
                        <input type="password" name="j_password" value="">	
                    </p>
                    <p class="space">
                        <c:if test="${not empty param.error}" >
                            <span style="color: #cd0a0a">${sessionScope["SPRING_SECURITY_LAST_EXCEPTION"].message}</span>
                        </c:if>
                        <input type="submit" value="Login" class="login" />
                    </p>
		</form>
            </div>
	</div>
    </body>
</html>